#ifndef D_MAT3F_H
#define D_MAT3F_H

namespace d_Math
{

class d_Mat3f
{
public:
	d_Mat3f();
	d_Mat3f(float a00, float a01, float a02, 
		 float a10, float a11, float a12, 
		 float a20, float a21, float a22);
	void diagonal(float x);
	d_Vec3f operator * (d_Vec3f v);
	float &operator () (int ir, int ic); 
	float operator () (int ir, int ic) const; 
	d_Mat3f operator * (d_Mat3f m);
	d_Mat3f operator / (float x);
	void operator *= (d_Mat3f m);

	float p[3][3];
	void print();
};

}

#endif
